def merge(nums1, m: int, nums2, n: int) -> None:
    """
    Do not return anything, modify nums1 in-place instead.
    """
    if m == 0:
        nums1 =nums2
        nums1.sort()
    elif n == 0:
        nums1.sort()
    else:
        for i in range(n,m+n):
            nums1[i] = nums2[i-n]
    
        nums1.sort()
    
    print(nums1)
    
merge([0], 0, [1], 1)
# print(n)
